package com.rawm.gen.entity;

import java.util.List;

/**
 * @author 啃过雪糕的兔子
 * @to 实体数据类
 * @date 2018年6月30日 下午10:45:20
 * @see:<p>www.aixuegao.cn</p>
 */
public class Entity extends BaseEntity {


    private String originalName;

    private String entityName;

    private String packageName;

    private List<Column> columnList = null;

    private String tableName;

    public Entity() {
        super();
    }

    public Entity(String entityName, String packageName, List<Column> columnList) {
        super();
        this.entityName = entityName;
        this.packageName = packageName;
        this.columnList = columnList;
    }


    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public List<Column> getColumnList() {
        return columnList;
    }

    public void setColumnList(List<Column> columnList) {
        this.columnList = columnList;
    }

    public String getOriginalName() {
        return originalName;
    }

    public void setOriginalName(String originalName) {
        this.originalName = originalName;
    }

    @Override
    public String toString() {
        return "Entity [entityName=" + entityName + ", packageName=" + packageName + ", columnList=" + columnList
                + ", tableName=" + tableName + "]";
    }
}
